Dynomotion

Group: DynoMotion Message: 7987 From: daveymahomh600e Date: 7/24/2013
Subject: SnapAmp GPIOs
Hi Tom,

I am trying to use the first three GPIOs on my SnapAmp to turn some relays on/off, but it seems only the first two work. Okay, I only tried up to the fourth one (GPIO3) but GPIO2 and GPIO3 two don't have any voltage when set as an output and activated.

Is there some reason the first two would work but not the second two?

Where do I set these as permanent outputs?

Thank you,
David.
Group: DynoMotion Message: 7988 From: Tom Kerekes Date: 7/24/2013
Subject: Re: SnapAmp GPIOs
Hi David,

I can't think of a reason why they wouldn't work.  Test by cycling power to make sure KFLOP/SnapAmp is in the default configuration.  Then set as Outputs using the Digital IO Screen and toggle the state.  If they don't toggle between more than 2.8V to less than 0.4V the board is bad.

To configure as outputs you would add a SetBitDirection(80,1); to your Initialization program.

I hope you are not connecting relays directly to the IOs.

HTH
Regards
TK

Group: DynoMotion Message: 7989 From: David Stevenson Date: 7/24/2013
Subject: Re: SnapAmp GPIOs

Thanks Tom for the info.
 
I have a relay board from Winford to be able to use the 3V SnapAmp GPIOs. The power was cycled a few times while I switched the wires around. I guess I will try the remaining 10 GPIOs and see if I can find another that works (I need three).
 
David
 
 
-----Original Message-----
From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]On Behalf Of Tom Kerekes
Sent: Wednesday, July 24, 2013 3:24 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] SnapAmp GPIOs

 

Hi David,

I can't think of a reason why they wouldn't work.  Test by cycling power to make sure KFLOP/SnapAmp is in the default configuration.  Then set as Outputs using the Digital IO Screen and toggle the state.  If they don't toggle between more than 2.8V to less than 0.4V the board is bad.

To configure as outputs you would add a SetBitDirection(80,1); to your Initialization program.

I hope you are not connecting relays directly to the IOs.

HTH
Regards
TK

Group: DynoMotion Message: 7993 From: az@aimele.com Date: 7/25/2013
Subject: Re: SnapAmp GPIOs
Hello,
Just a note to make sure you use the schematic in the manual for detemining the I/O pinout wiring.  Not the chart.  There is a mistake in the manual in this area.

AZ


------- Original Message -------
From : David Stevenson[mailto:david.m.stevenson@...]
Sent : 7/24/2013 2:52:28 PM
To : DynoMotion@yahoogroups.com
Cc :
Subject : RE: [DynoMotion] SnapAmp GPIOs

 



Thanks Tom for the info.
 
I have a relay board from Winford to be able to use the 3V SnapAmp GPIOs. The power was cycled a few times while I switched the wires around. I guess I will try the remaining 10 GPIOs and see if I can find another that works (I need three).
 
David
 
 
-----Original Message-----
From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]On Behalf Of Tom Kerekes
Sent: Wednesday, July 24, 2013 3:24 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] SnapAmp GPIOs

 

Hi David,

I can't think of a reason why they wouldn't work.  Test by cycling power to make sure KFLOP/SnapAmp is in the default configuration.  Then set as Outputs using the Digital IO Screen and toggle the state.  If they don't toggle between more than 2.8V to less than 0.4V the board is bad.

To configure as outputs you would add a SetBitDirection(80,1); to your Initialization program.

I hope you are not connecting relays directly to the IOs.

HTH
Regards
TK

Group: DynoMotion Message: 7995 From: Tom Kerekes Date: 7/25/2013
Subject: Re: SnapAmp GPIOs
AZ,

Thanks I thought we had corrected that long ago.  It is corrected on-line here:

http://dynomotion.com/Help/SchematicsSnap/SnapAmpConnectors.htm

Regards
TK

Group: DynoMotion Message: 7999 From: David Stevenson Date: 7/25/2013
Subject: Re: SnapAmp GPIOs

Thanks AZ,
 
I wish I had seen this message earlier... the machine has just shipped with two of the three lights working.  :o(
 
David
 
-----Original Message-----
From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]On Behalf Of az@...
Sent: Thursday, July 25, 2013 9:56 AM
To: DynoMotion@yahoogroups.com
Subject: RE: [DynoMotion] SnapAmp GPIOs

 

Hello,
Just a note to make sure you use the schematic in the manual for detemining the I/O pinout wiring.  Not the chart.  There is a mistake in the manual in this area.

AZ


------- Original Message -------
From : David Stevenson[mailto:david.m.stevenson@...]
Sent : 7/24/2013 2:52:28 PM
To : DynoMotion@yahoogroups.com
Cc :
Subject : RE: [DynoMotion] SnapAmp GPIOs

 



Thanks Tom for the info.
 
I have a relay board from Winford to be able to use the 3V SnapAmp GPIOs. The power was cycled a few times while I switched the wires around. I guess I will try the remaining 10 GPIOs and see if I can find another that works (I need three).
 
David
 
 
-----Original Message-----
From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]On Behalf Of Tom Kerekes
Sent: Wednesday, July 24, 2013 3:24 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] SnapAmp GPIOs

 

Hi David,

I can't think of a reason why they wouldn't work.  Test by cycling power to make sure KFLOP/SnapAmp is in the default configuration.  Then set as Outputs using the Digital IO Screen and toggle the state.  If they don't toggle between more than 2.8V to less than 0.4V the board is bad.

To configure as outputs you would add a SetBitDirection(80,1); to your Initialization program.

I hope you are not connecting relays directly to the IOs.

HTH
Regards
TK

Group: DynoMotion Message: 8000 From: David Stevenson Date: 7/25/2013
Subject: Re: SnapAmp GPIOs

I think that is what my problem was. I needed to set IO7 or IO8 because those were I wires I wasn't having any luck with.
 
Thanks,
David.
 
-----Original Message-----
From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]On Behalf Of Tom Kerekes
Sent: Thursday, July 25, 2013 1:16 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] SnapAmp GPIOs

 

AZ,

Thanks I thought we had corrected that long ago.  It is corrected on-line here:

http://dynomotion.com/Help/SchematicsSnap/SnapAmpConnectors.htm

Regards
TK